package com.heny.nc.service;

/**
 * @author litao.cc
 * @version DataStringUtils.java v0.1 t2025/4/26 20:14
 * @date 2025/4/26 20:14
 * @description 数据字符串工具类
 */
public class DataStringUtils {

    public static String removeEnd0(String v){
        if (v.endsWith("0")) {
            v = v.replaceAll("0*$", "").replaceAll("\\.$", "");
        }
        return v;
    }


}
